package com.teziyou.commodity.web.jfinal;

import com.teziyou.commodity.model.ScenicSpot;

public class ScenicSpotAction extends BaseController {
	
	public void add() {
		ScenicSpot ss = getModel(ScenicSpot.class);
		ss.save();
		renderJson(success("保存成功！！"));
	}
	
	public void update() {
		ScenicSpot ss = getModel(ScenicSpot.class);
		ss.update();
		renderJson(success("保存成功！！"));
	}

}
